#ifndef ENDWIDGET_H
#define ENDWIDGET_H

#include <QWidget>

class   MyButton;

class EndWidget : public QWidget
{
    Q_OBJECT
public:
    explicit EndWidget(QWidget *parent = 0);
    void paintEvent(QPaintEvent *);
    QString passString(int l);
    int RemainNum(int n);

    MyButton    *m_continueBtn;
    MyButton    *m_menuBtn;
signals:
    void continueGame();
    void Tomenu();
public slots:
    void continuegame();
    void tomenu();
};

#endif // ENDWIDGET_H
